var status = -1;
var selectionLog = [];

function start(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.sendNormalTalk_Bottom("#face0#好了，走吧。", 36, 3004652, false, true, 1)
    } else {
        if (status === a++) {
            cm.askYesNo_Bottom("#face0#下一个目的地是#r地下铁路6#k。", 36, 3004652, 1)
        } else {
            if (status === a++) {
                cm.forceStartQuest(37605, "");
                cm.updateInfoQuest(37600, "02=h0;09=h0");
                cm.updateInfoQuest(37600, "10=h1;02=h0;09=h0");
                cm.OnStartNavigation(450014080, 1, "3004610", 37605);
                cm.dispose()
            }
        }
    }
}

function stage0(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status == a++) {
            var e = cm.getQuest();
            cm.askYesNo("这个任务的依次对话脚本还没有修复哦。它的脚本位于： #b 脚本/任务/37605.js#k\r\n\r\n如果你有兴趣，欢迎一起来修复！\r\n\r\n那么现在，你要立刻开始这个任务吗？")
        } else {
            if (status == a++) {
                cm.forceStartQuest();
                cm.dispose()
            }
        }
    }
}

function end(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status == a++) {
            cm.sendNormalTalk_Bottom("是紫色的老鼠。", 56, 0, false, true, 1)
        } else {
            if (status === a++) {
                cm.sendNormalTalk_Bottom("#face0#这些家伙吃起来麻麻的。", 36, 3004652, true, true, 1)
            } else {
                if (status === a++) {
                    cm.sendNormalTalk_Bottom("#face0#味道非常独特。", 36, 3004652, true, true, 1)
                } else {
                    if (status === a++) {
                        cm.sendNormalTalk_Bottom("……", 56, 0, true, true, 1)
                    } else {
                        if (status === a++) {
                            cm.sendNormalTalk_Bottom("#face0#听说好友世界有一种叫跳跳糖的东西。味道应该差不多吧？", 36, 3004652, true, true, 1)
                        } else {
                            if (status === a++) {
                                cm.sendNormalTalk_Bottom("不会吧……", 56, 0, true, true, 1)
                            } else {
                                if (status === a++) {
                                    cm.forceCompleteQuest(37605);
                                    cm.gainExp(8782820);
                                    cm.dispose()
                                }
                            }
                        }
                    }
                }
            }
        }
    }
};